package com.macro.mall.portal.service;

import com.macro.mall.common.api.CommonResult;
import com.macro.mall.model.UmsAboutUs;
import com.macro.mall.model.UmsFeedback;
import org.springframework.transaction.annotation.Transactional;

public interface AboutUsService {

    /**
     * 前台显示关于我们
     * @return
     */
    CommonResult<UmsAboutUs> getAboutUs();

    /**
     * 用户添加反馈意见
     * @param feedback
     * @return
     */
    @Transactional
    CommonResult createFeedback(UmsFeedback feedback);
}
